export const clientSubRoutes: any[] = [
  {
    name: '客户端首页',
    path: '/client/home',
    meta: {
      title: '首页'
    },
    component: () => import('../../views/client/home/index.vue'),
    children: []
  },
  {
    name: '客户端云产品',
    path: '/client/cloudProduct',
    meta: {
      title: '云产品'
    },
    component: () => import('../../views/client/cloudProduct/index.vue'),
  },
  {
    name: '客户端云服务器',
    path: '/client/cloudService',
    meta: {
      title: '云服务器'
    },
    component: () => import('../../views/client/cloudService/main.vue'),
    redirect: '/client/cloudService/index',
    children: [
      {
        name: '云服务器首页',
        path: '/client/cloudService',
        meta: {
          title: '云服务器首页'
        },
        component: () => import('../../views/client/cloudService/index.vue')
      },
      {
        name: '购买云服务器',
        path: '/client/cloudService/components/shoppingHome',
        meta: {
          title: '购买云服务器'
        },
        component: () => import('../../views/client/cloudService/components/shoppingHome.vue')
      },
      {
        name: '我的总消息',
        path: '/client/myMessage',
        meta: {
          title: '我的总消息'
        },
        component: () => import('../../utils/components/others/myMessage.vue')
      },
      {
        name: '消息详情',
        path: '/client/myMessage/messageDetails',
        meta: {
          title: '消息详情'
        },
        component: () => import('../../utils/components/others/messageDetails.vue')
      }
    ]
  },
  {
    name: '客户端政务云',
    path: '/client/cloudGovernment',
    meta: {
      title: '政务云'
    },
    component: () => import('../../views/client/cloudGovernment/index.vue'),
    children: []
  },
  {
    name: '客户端云市场',
    path: '/client/cloudMarketplace',
    meta: {
      title: '云市场'
    },
    component: () => import('../../views/client/cloudMarketplace/main.vue'),
    children: [
      {
        name: '客户端云市场首页',
        path: '/client/cloudMarketplace',
        meta: {
          title: '云市场首页'
        },
        component: () => import('../../views/client/cloudMarketplace/index.vue')
      },
      {
        name: '云购买',
        path: '/client/cloudMarketplace/components/shopping',
        meta: {
          title: '云购买'
        },
        component: () => import('../../views/client/cloudMarketplace/components/shoppingHome.vue')
      },
      {
        name: '云购买步骤1',
        path: '/client/cloudMarketplace/components/shoppingStep1',
        meta: {
          title: '云购买步骤1'
        },
        component: () => import('../../views/client/cloudMarketplace/components/shoppingStep1.vue')
      },
      {
        name: '云购买步骤2',
        path: '/client/cloudMarketplace/components/shoppingStep2',
        meta: {
          title: '云购买步骤2'
        },
        component: () => import('../../views/client/cloudMarketplace/components/shoppingStep2.vue')
      },
      {
        name: '云购买步骤3',
        path: '/client/cloudMarketplace/components/shoppingStep3',
        meta: {
          title: '云购买步骤3'
        },
        component: () => import('../../views/client/cloudMarketplace/components/shoppingStep3.vue')
      }
    ]
  },
  {
    name: '客户端解决方案',
    path: '/client',
    redirect: '/client/solution',
    meta: {
      title: '解决方案'
    },
    component: () => import('../../views/client/solution/toIndex.vue'),
    children: [
      {
        name: '客户端解决方案',
        path: '/client/solution',
        meta: {
          title: '解决方案'
        },
        component: () => import('../../views/client/solution/index.vue')
      },
      {
        name: '解决方案详情',
        path: '/client/solution/detials',
        meta: { title: '解决方案详情' },
        component: () => import('../../views/client/solution/detials.vue')
      }
    ]
  },
  {
    name: '客户端服务与支持',
    meta: {
      title: '服务与支持'
    },
    path: '/client/serviceAndSupport',
    component: () => import('../../views/client/serviceAndSupport/main.vue'),
    children: [
      {
        name: '客户端服务与支持首页',
        meta: {
          title: '服务与支持首页'
        },
        path: '/client/serviceAndSupport',
        component: () => import('../../views/client/serviceAndSupport/index.vue'),
      },
      {
        name: '工单服务',
        meta: {
          title: '工单服务'
        },
        path: '/client/others/afterSales',
        component: () => import('../../utils/components/others/aboutUs.vue'),
      },
      {
        name: '联系我们',
        meta: {
          title: '联系我们'
        },
        path: '/client/others/aboutUs',
        component: () => import('../../utils/components/others/aboutUs.vue'),
      },
      {
        name: '资讯中心',
        meta: {
          title: '资讯中心'
        },
        path: '/client/news',
        component: () => import('../../views/client/news/index.vue'),
      },
      {
        name: '资讯详情',
        meta: {
          title: '资讯详情'
        },
        path: '/client/news/details',
        component: () => import('../../views/client/news/details.vue'),
      }
    ]
  },
  {
    name: '客户端帮助中心',
    meta: {
      title: '帮助中心'
    },
    path: '/client/helpCenter',
    component: () => import('../../views/client/helpCenter/helpCenter.vue'),
    children: [
      {
        name: '客户端帮助中心',
        meta: {
          title: '帮助中心'
        },
        path: '/client/helpCenter',
        component: () => import('../../views/client/helpCenter/index.vue'),
      },
      {
        name: '帮助中心',
        meta: {
          title: '帮助中心'
        },
        path: '/client/helpCenter/details',
        component: () => import('../../views/client/helpCenter/details.vue')
      }
    ]
  },
  {
    name: '客户端自定义导航',
    path: '/client/sefNavigation',
    component: () => import('../../views/client/sefNavigation/index.vue'),
  },
  {
    name: '客户端自定义导航详情',
    path: '/client/sefNavigation/details',
    component: () => import('../../views/client/sefNavigation/details.vue'),
  },
]
